package com.jfm.jfmm.collector.enums;

import lombok.Getter;

/**
 * @author DYang
 * @since 2024-10-09 22:39
 */
@Getter
public enum ResultType {

    SUCCESS("success", "成功"),
    FAIL("fail", "失败"),
    UNKNOWN_PROTOCOL("unknown protocol","未知协议"),
    UNKNOWN_ERROR("unknown error","未知错误"),
    EMPTY_PARAM("empty param","参数为空"),
    UNKNOWN_RESULT("unknown result","未知结果");

    private final String code;
    private final String msg;

    ResultType(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
